﻿using System;
using System.Collections.Generic;
using TCKQKL.Service.DataContract;

namespace TCKQKL.DAL.IDAL
{
    public interface IMarketSummary
    {
        void BeginADOTransaction();
        void RollBackTransaction();
        void CommitADOTransaction();
        void Open(string connString);
        void Close();

        MarketSummaryDataModel getMarketSummaryHose();
        MarketSummaryDataModel getMarketSummaryHastc();
        StocksDataModel getQuoteHose(string symbol);
        StocksDataModel getQuoteHastc(string symbol);
        StocksDataModel getQuoteUpcom(string symbol);
        StocksDataModel getQuoteHoseAvg(string symbol);
        StocksDataModel getQuoteHastcAvg(string symbol);
        StocksDataModel getQuoteUpcomAvg(string symbol);
    }
}
